package com.example.hospital.patient.wx.api.service;

import org.springframework.web.multipart.MultipartFile;

import java.util.HashMap;
import java.util.Map;

public interface UserService {
    public HashMap loginOrRegister(String code);

    public void putProfile(Map data);

    public String uploadPhoto(MultipartFile file, Integer id);

    public Map getProfile(Integer id);

    public Map loginByTel(String tel);
}
